package com.ssyt.ExaminationSystem.admin.entity;

import com.alibaba.fastjson.annotation.JSONType;

/**
 * 
 * 通过json指定排序方式
 */
@JSONType(orders = { "id", "pid", "name" })
public class MenuEntity {
	private String id;
	private String pid;
	private String name;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "MenuEntity [id=" + id + ", pId=" + pid + ", name=" + name + "]";
	}

}
